/* 
 * File:   Table.h
 * Author: Guilherme Monteiro
 */

#ifndef TABLE_H
#define	TABLE_H
#include "File.h"

class Table : public File {
public:
    Table(string p);
    Table(const Table& orig);
    virtual ~Table();
    void writeLineWithValues(vector<double> values, int numberLine);
    void writeFields(vector<string> f);
    vector<string> getFields();
    void setFields(vector<string> f);
    void writeLegend(vector<string> lNames);
    string getLegend();
    void setLegend(string l);
    void setSeparator(string s);
private:
    vector<string> fields;
    string legend;
};

#endif	/* TABLE_H */

